<template>
  <div>child2子组件 - {{ count }}</div>
</template>

<script setup>
import { inject } from "vue";

const count = inject("count");
</script>
